package kit.docker.database;

public class DataBaseConstant {

    /**
     * 数据源个数
     */
    public static final String db_count = "db.count";

    /**
     * 数据源名称
     */
    public static final String db_name = "name";

    /**
     * 数据源类型
     */
    public static final String db_type = "type";

    /**
     * 数据库驱动
     */
    public static final String db_driver_class = "driver.class";

    /**
     * 数据库连接URL
     */
    public static final String db_jdbc_url = "jdbc.url";

    /**
     * 数据库用户名
     */
    public static final String db_username = "username";

    /**
     * 数据库密码
     */
    public static final String db_password = "password";

    /**
     * 数据库连接池参数：初始化连接大小
     */
    public static final String db_initial_size = "initial.size";

    /**
     * 数据库连接池参数：最少连接数
     */
    public static final String db_min_idle = "min.idle";

    /**
     * 数据库连接池参数：最多连接数
     */
    public static final String db_max_active = "max.active";

    public static final String db_sql_engine = "sql.engine";

    public static final String db_sql_template = "sql.template";


    // ===========================================================

    /**
     * 数据库类型：postgresql
     */
    public static final String db_type_postgresql = "postgresql";

    /**
     * 数据库类型：mysql
     */
    public static final String db_type_mysql = "mysql";

    /**
     * 数据库类型：oracle
     */
    public static final String db_type_oracle = "oracle";

    /**
     * 数据库类型：sqlserver
     */
    public static final String db_type_sqlserver = "sqlserver";

    /**
     * 数据库类型：db2
     */
    public static final String db_type_db2 = "db2";

}
